package common.fengkai.filepost.webservice.impl;

import common.fengkai.filepost.VO.ResVo;
import common.fengkai.filepost.interceptor.User;
import common.fengkai.filepost.webservice.TestWrbvservices;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

@Component
@WebService(endpointInterface = "common.fengkai.filepost.webservice.TestWrbvservices")
public class TestWebservicesImpl implements TestWrbvservices {

    @Override
    public ResVo testHello (User user) {
        String s = user.toString();
        return ResVo.ok(s);
    }
}
